package com.stars.home.activity

import com.qmuiteam.qmui.kotlin.onClick
import com.stars.home.base.MBActivity
import com.stars.home.databinding.ActivityBalanceBinding
import com.stars.home.inte.ChoiceData
import com.stars.home.utils.PopuChosePayUtils
import com.stars.home.vmodel.BalanceVModel

/**
 * 充值
 *on 2022/9/23
 */
class BalanceActivity : MBActivity<BalanceVModel, ActivityBalanceBinding>(){


    //    var adapter: BanlanceAdapter? = null

    override fun listeners() {
        super.listeners()
        binding.butSubmit.onClick {
            PopuChosePayUtils.show(context(),binding.butSubmit,object : ChoiceData{
                override fun onRestuse(id: String?) {

                }

            })
        }
    }
    override fun vmClass(): Class<BalanceVModel> {
        return BalanceVModel::class.java
    }
    override fun binding(): ActivityBalanceBinding {
       return ActivityBalanceBinding.inflate(layoutInflater)
    }

    override fun title(): String? {
        return "余额"
    }
}
